package com.gx.listener;

import lombok.extern.slf4j.Slf4j;
import org.flowable.engine.delegate.DelegateExecution;
import org.flowable.engine.delegate.JavaDelegate;
import org.springframework.stereotype.Service;

/**
 * @ClassName FlowServiceTask
 * @Author lpj
 * @Date 2023/1/5 14:29
 **/
@Service
@Slf4j
public class FlowServiceTask implements JavaDelegate {
    @Override
    public void execute(DelegateExecution execution) {
        System.out.println("execution = " + execution.getProcessInstanceId());
    }
}